<template>
	<view class="dashu-list">
		<view class="dashu-item" @click="toDetail">
			<view class="dashu-left"><image src="https://nabercat.oss-cn-hangzhou.aliyuncs.com/15456303108155.jpeg" mode=""></image></view>
			<view class="dashu-right">
				<view class="dashu-name">
					<text>曹雨生</text>
					<text>动物医院院长</text>
				</view>
				<view class="dashu-trading">执业编号：A012938790087</view>
				<view class="dashu-tag-list">
					<view class="dashu-tag-item">技术院长</view>
					<view class="dashu-tag-item">海外留学</view>
					<view class="dashu-tag-item">从业8年以上</view>
				</view>
				<view class="dashu-describe">上雕刻技法哈萨克大护法就</view>
			</view>
		</view>
		<view class="dashu-item">
			<view class="dashu-left"><image src="https://nabercat.oss-cn-hangzhou.aliyuncs.com/15456303108155.jpeg" mode=""></image></view>
			<view class="dashu-right">
				<view class="dashu-name">
					<text>曹雨生</text>
					<text>动物医院院长</text>
				</view>
				<view class="dashu-trading">执业编号：A012938790087</view>
				<view class="dashu-tag-list">
					<view class="dashu-tag-item">技术院长</view>
					<view class="dashu-tag-item">海外留学</view>
					<view class="dashu-tag-item">从业8年以上</view>
				</view>
				<view class="dashu-describe">
					上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就上雕刻技法哈萨克大护法就
				</view>
			</view>
		</view>
		<view class="dashu-item">
			<view class="dashu-left"><image src="https://nabercat.oss-cn-hangzhou.aliyuncs.com/15456303108155.jpeg" mode=""></image></view>
			<view class="dashu-right">
				<view class="dashu-name">
					<text>曹雨生</text>
					<text>动物医院院长</text>
				</view>
				<view class="dashu-trading">执业编号：A012938790087</view>
				<view class="dashu-tag-list">
					<view class="dashu-tag-item">技术院长</view>
					<view class="dashu-tag-item">海外留学</view>
					<view class="dashu-tag-item">从业8年以上</view>
				</view>
				<view class="dashu-describe">上雕刻技法哈萨克大护法就</view>
			</view>
		</view>
		<view class="dashu-item">
			<view class="dashu-left"><image src="https://nabercat.oss-cn-hangzhou.aliyuncs.com/15456303108155.jpeg" mode=""></image></view>
			<view class="dashu-right">
				<view class="dashu-name">
					<text>曹雨生</text>
					<text>动物医院院长</text>
				</view>
				<view class="dashu-trading">执业编号：A012938790087</view>
				<view class="dashu-tag-list">
					<view class="dashu-tag-item">技术院长</view>
					<view class="dashu-tag-item">海外留学</view>
					<view class="dashu-tag-item">从业8年以上</view>
				</view>
				<view class="dashu-describe">上雕刻技法哈萨克大护法就</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		// 跳转详情
		toDetail() {
			uni.navigateTo({
				url: `/pagesHome/doctorDetail/doctorDetail`
			});
		}
	},
	onLoad(options) {}
};
</script>

<style scoped lang="scss">
.dashu-list {
	.dashu-item {
		display: flex;
		margin-bottom: 32rpx;
		&:nth-last-of-type(1) {
			margin-bottom: 0;
		}
		.dashu-left {
			width: 116rpx;
			height: 116rpx;
			background: #dcdddd;
			border-radius: 16rpx;
			margin-right: 16rpx;
			& > image {
				width: 100%;
				height: 100%;
				border-radius: 16rpx;
			}
		}
		.dashu-right {
			flex: 1;
			.dashu-name {
				display: flex;
				align-items: center;
				font-size: 28rpx;
				color: #666666;
				margin-bottom: 8rpx;
				& > text:nth-of-type(1) {
					font-size: 36rpx;
					font-weight: 500;
					color: #333333;
					margin-right: 20rpx;
				}
			}
			.dashu-trading {
				font-size: 28rpx;
				color: #666666;
				margin-bottom: 12rpx;
			}
			.dashu-tag-list {
				display: flex;
				flex-wrap: wrap;
				margin-bottom: 12rpx;
				.dashu-tag-item {
					height: 38rpx;
					background: rgba(255, 247, 221, 0.6);
					border-radius: 4rpx;
					padding: 0 8rpx;
					font-size: 24rpx;
					color: #fdaf4d;
					margin-right: 16rpx;
				}
			}
			.dashu-describe {
				font-size: 24rpx;
				color: #999999;
				line-height: 18px;
				width: 100%;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
			}
		}
	}
}
</style>
